<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <title>公信商城－个人主页</title>

    <!--图标字体 http://fontawesome.io/icons/ -->
    <link rel="stylesheet" href="css/font/css/font-awesome.min.css"/>
    <link rel="stylesheet" href="css/ui-base.css"/>
    <link rel="stylesheet" href="css/main.css"/>
    <script src="js/jquery.min.js"></script>
    <!--<script src="js/loaderMask.js"></script>-->
</head>
<body>
<header class="header">
    <span class="title">王小二</span>
    <a class="l-btn l-back" href="javascript: window.history.go(-1);"></a>
    <a class="r-btn r-home" href="index.html"></a>
</header>

<div class="content w100 ho">
    <div class="per-info w100 ho">
        <div class="picture po-r">
            <img src="images/mainpage/gxr01.jpg" class="p-img"/>
            <img src="images/personalCenter/female.png" class="sex po-a"/>
        </div>
        <div class="info ho">
            <span class="name">王小二</span>
            <a href="##"><img src="images/personalPage/trust.png" class="trust"/></a>
            <!--<a href="##"><img src="images/personalPage/trusted.png"/></a>--><!--已信任-->
            <a href="##"><img src="images/personalPage/getBeans.png" class="getBeans"/></a>
            <!--<a href="##"><img src="images/personalPage/gotBeans.png"/></a>--><!--已赠豆-->
            <br/>
            <span>公信值：200（公信达人）</span>
        </div>
    </div>
    <!--个性签名-->
    <div class="signature ho">
        <span>个性签名：</span>
        <p>人生是个圆，有的人走了一辈子也没有走出命运画出的圆圈，其实，圆上的每一个点都有一条腾飞的切线。</p>
    </div>
    <div class="myCircle ho">
        <a class="show-all ho" href="peopleCircle.html">
            <span class="tt">我的圈子</span>
            <span class="toright"><i class="fa fa-angle-right"></i></span>
        </a>
        <div class="list">
            <ul class="po-r">
                <li><a href="personalPage.html"><img src="images/mainpage/gxr01.jpg"/></a></li>
                <li><a href="personalPage.html"><img src="images/mainpage/gxr02.jpg"/></a></li>
                <li><a href="personalPage.html"><img src="images/mainpage/gxr03.jpg"/></a></li>
                <li><a href="personalPage.html"><img src="images/mainpage/gxr03.jpg"/></a></li>
                <li><a href="personalPage.html"><img src="images/mainpage/gxr04.jpg"/></a></li>
                <li><a href="personalPage.html"><img src="images/mainpage/gxr05.jpg"/></a></li>
                <li><a href="personalPage.html"><img src="images/mainpage/gxr06.jpg"/></a></li>
                <li><a href="personalPage.html"><img src="images/mainpage/gxr06.jpg"/></a></li>
                <li><a href="personalPage.html"><img src="images/mainpage/gxr07.jpg"/></a></li>
                <li><a href="personalPage.html"><img src="images/mainpage/gxr07.jpg"/></a></li>
                <li><a href="personalPage.html"><img src="images/mainpage/gxr07.jpg"/></a></li>
                <!--更多-->
                <li class="more"><a href="peopleCircle.html"><img src="images/personalPage/more.jpg"/></a></li>
            </ul>
        </div>
    </div>
    <div class="myCircle myshop ho">
        <a class="show-all ho" href="store.html">
            <span class="tt">我的店铺</span>
            <span class="toright"><i class="fa fa-angle-right"></i></span>
        </a>
        <!--<div class="list-goods">
            <ul>
                <li><a href="details.html"><img src="images/mainpage/goods-img02.jpg"/></a></li>
                <li><a href="details.html"><img src="images/mainpage/goods-img02.jpg"/></a></li>
                <li><a href="details.html"><img src="images/mainpage/goods-img02.jpg"/></a></li>
            </ul>
        </div>-->
        <div class="best-goods ho">
            <img src="images/personalPage/nostore.jpg"/><!--没有开启店铺情况下显示-->
            <ul class="w100 ho">
                <li>
                    <a class="goods-details ho" href="details.html">
                        <img src="images/mainpage/goods-img02.jpg" />
                        <p class="description">德国进口爱他美1+段 600g 婴幼儿配方奶粉婴幼儿配方奶粉婴幼儿配方奶粉</p>
                        <span class="price">￥189</span>
                    </a>
                </li>
                <li>
                    <a class="goods-details ho" href="details.html">
                        <img src="images/mainpage/goods-img02.jpg" />
                        <p class="description">德国进口爱他美1+段 600g 婴幼儿配方奶粉婴幼儿配方奶粉婴幼儿配方奶粉</p>
                        <span class="price">￥189</span>
                    </a>
                </li>
                <li>
                    <a class="goods-details ho" href="details.html">
                        <img src="images/mainpage/goods-img02.jpg" />
                        <p class="description">德国进口爱他美1+段 600g 婴幼儿配方奶粉婴幼儿配方奶粉婴幼儿配方奶粉</p>
                        <span class="price">￥189</span>
                    </a>
                </li>
                <li>
                    <a class="goods-details ho" href="details.html">
                        <img src="images/mainpage/goods-img02.jpg" />
                        <p class="description">德国进口爱他美1+段 600g 婴幼儿配方奶粉婴幼儿配方奶粉婴幼儿配方奶粉</p>
                        <span class="price">￥189</span>
                    </a>
                </li>
            </ul>
        </div>
    </div>
</div>

<!--弹框组件-->
<script src="js/sweetalert/sweetalert.min.js"></script>
<link rel="stylesheet" type="text/css" href="js/sweetalert/sweetalert.css">
<script>
    $(function () {
        var hh = $('.myCircle .list li').outerHeight();
        $('.myCircle .list ul').height(hh*2);

        /*赠豆*/
        $('.getBeans').on('click', function () {
            swal({
                title: "请选择要赠送的信任豆",
                text: "信任豆类别：<select name='beans-sort' id='kuaidi'><option value='0'>请选择</option><option value='1'>黄豆</option><option value='2'>红豆</option></select>",
                html: true,
                confirmButtonColor: "#f85050",
                showCancelButton: true,
                closeOnConfirm: false,
                confirmButtonText: "赠送",
                cancelButtonText: "取消",
                animation: "pop"
            },
            function(){
                var text = $("#kuaidi").find("option:selected").text();
                if (text == "请选择") {
                    $('.sa-error-container').addClass('show');
                    $('.sa-error-container').find('p').html('请选择信任豆类别!');
                    return false;
                }
                swal({
                    title: "已赠送",
                    text: "信任豆：" + text,
                    type: "success",
                    html: true,
                    confirmButtonColor: "#f85050",
                    confirmButtonText: "确认"
                });
            });
        });
    });
</script>
</body>
</html>